package com.ivo.sys.user;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

import com.ivo.core.hibernate.Model;

/**
 * 用户
 */
@Entity
@Table(name = "SYS_O_USER")
public class User extends Model{
	
	private static final long serialVersionUID = -1132673311357491967L;

	@Column(name = "FACTORY")
	private String factory;
	
	@Column(name = "USER_ID")
	private String user_id;
	
	@Column(name = "USER_NAME")
	private String user_name;
	
	@Column(name = "PASSWORD")
	private String password;
	
	public User() {
	}

	
	public String getFactory() {
		return factory;
	}



	public void setFactory(String factory) {
		this.factory = factory;
	}



	public String getUser_id() {
		return user_id;
	}

	public void setUser_id(String user_id) {
		this.user_id = user_id;
	}

	public String getUser_name() {
		return user_name;
	}

	public void setUser_name(String user_name) {
		this.user_name = user_name;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}
	
}
